/* Request ID: bd799bee77882838d251774e8a21cc55 (05/14/2024 11:44pm) (BcFBDoQwCAXQq7gbkzFwoFkR+k3rYGsoyvV9jx9xzkw2STI18T+h3GztQVYxcFScYB0Onurtism7jx7ohY65LZ9vGXqf6EE2VKKNTtWxk+MyUazb8nsB) */ /* Resource ID: 750dad59d892dd2d81a9e663d51 (frontend.js, minified by uglifyjs) (05/14/2024 4:08pm) (A:23518, G:13575, K:13575) */ (function(l,s){s.lib=s.lib||{};var n=l("body");s.lib.getICalDate=function(e){var t;if(!e)return"";t=new s.lib.LWCDate(e,0);return t.getFormattedDate("Ymd")+"T"+t.getFormattedDate("His")+"Z"};s.lib.getAddToGoogleLink=function(e){var t="http://www.google.com/calendar/event?action=TEMPLATE&",i=[],a=this.getICalDate(e.ts_start),n,o;if(e.ts_end){n=e.ts_end}else{n=e.is_all_day?e.ts_start+3600*24:e.ts_start+3600}o=this.getICalDate(n);i.push("text="+encodeURIComponent(e.title));i.push("dates="+a+"/"+o);if(e.summary){i.push("details="+encodeURIComponent(s.lib.htmlDecode(e.summary)))}if(e.location){i.push("location="+encodeURIComponent(e.location))}return t+i.join("&")+"&trp=false&sprop=&sprop=name:"};s.lib.getAddToYahooLink=function(e){var t="http://calendar.yahoo.com/?v=60&view=d&type=20&",i=[];i.push("title="+encodeURIComponent(e.title));i.push("st="+this.getICalDate(e.ts_start));if(e.ts_end){i.push("et="+this.getICalDate(e.ts_end))}if(e.summary){i.push("desc="+encodeURIComponent(s.lib.htmlDecode(e.summary)))}if(e.location){i.push("in_loc="+encodeURIComponent(e.location))}return t+i.join("&")};l.fn.extend({initFrontendRegion:function(){return this.each(function(){var e=l(this);var t={captcha:{elements:e.find(".lw_captcha")}};l.each(t,function(e,t){if(t.elements.length){t.elements[e](t.settings)}});e.find('.lw_image[data-caption-enabled="true"][data-caption]').each(function(){var e=l(this),t=e.parent().hasClass("lw_preview_image")?e.parent():e;l('
').width(e.width()).text(e.attr("data-caption")).insertAfter(t)});if(!s.disable_widget_link_targets){e.find('.lw_widget:not(.lw_widget_type_navigation) a[href^="http"]:not([target])').each(function(){var e=l(this);var t=e.attr("href");if(!s.lib.hasCurrentDomainAndTld(t)){e.attr("target","_blank")}})}l('*[class^="lw_language_"]').on("click",function(){var e=l(this).attr("class").split(" ").filter(function(e){return e.indexOf("lw_language_")===0});e=e.join("").substring(12);if(e){if(e==="english"){s.lib.setCookie(s.cookie_prefix+"lang","",0,"/",s.cookie_host,false)}else{var t=new Date((new Date).setYear((new Date).getFullYear()+1));s.lib.setCookie(s.cookie_prefix+"lang",e,t,"/",s.cookie_host,false)}location.reload()}return false});l("div[data-background-image]").each(function(){if(s.lib.hasWebPSupport()){if(l(this).attr("data-background-image").match(/\.jp[e]*g/)){l(this).attr("data-background-image",l(this).attr("data-background-image").replace(/\.jp[e]*g/i,".webp"))}}l(this).css("background-image",'url("'+l(this).attr("data-background-image")+'")');l(this).removeAttr("data-background-image")})})}});s.captcha_requested=false;s.captcha_loaded=false;l.widget("lw.captcha",{widget_id:null,options:{attachSubmitHandler:true},_create:function(){var e=this;var t=this.element;var i=this.sitekey=t.attr("data-sitekey");var a=this.version=parseInt(t.attr("data-version"))||0;var n=this.$form=t.closest("form");var o;if(l.trim(t.html()))return;if(a===0||a===2){o=setInterval(function(){if(s.captcha_loaded){clearInterval(o);e.widget_id=grecaptcha.render(t.get(0),{sitekey:i});l("#g-recaptcha-response").attr("aria-hidden",true).attr("aria-label","hidden captcha field")}},50);if(!s.captcha_requested){window.lwCaptchaOnloadCallback=function(){s.captcha_loaded=true};l.getScript("http"+(window.location.protocol==="https:"?"s":"")+"://www.google.com/recaptcha/api.js?onload=lwCaptchaOnloadCallback&render=explicit");s.captcha_requested=true}}else if(a===3){t.hide();if(!n.hasClass("lw_forms_form")&&this.options.attachSubmitHandler===true){if(s.captcha_loaded){this.attachSubmitHandler(n,i)}else{o=setInterval(function(){if(s.captcha_loaded){clearInterval(o);e.attachSubmitHandler(n,i)}},50)}}if(!s.captcha_requested){window.lwCaptchaOnloadCallback=function(){s.captcha_loaded=true};l.getScript("http"+(window.location.protocol==="https:"?"s":"")+"://www.google.com/recaptcha/api.js?onload=lwCaptchaOnloadCallback&render="+i);s.captcha_requested=true}}},attachSubmitHandler:function(t,i){t.off("submit").on("submit",function(e){e.preventDefault();grecaptcha.ready(function(){grecaptcha.execute(i,{action:"lw_form"}).then(function(e){t.find('input[name="token"],input[name="action"]').remove();t.prepend('');t.prepend('');t.unbind("submit").submit()})})})},execute:function(t){var i=this;if(!l.isFunction(t)){t=l.noop}if(this.version===3){grecaptcha.ready(function(){grecaptcha.execute(i.sitekey,{action:"lw_form"}).then(function(e){i.$form.find('input[name="token"],input[name="action"]').remove();i.$form.prepend('');i.$form.prepend('');t()})})}else{t()}},refresh:function(){var e=this.element.attr("data-version");if(e==""||e==2){grecaptcha.reset(this.widget_id)}},getWidgetId:function(){return this.widget_id}});s.frontend={init:function(){this.initSubnavToggle();this.initPayments();this.initImagePreview();if(s.lib.getCookie(s.cookie_prefix+"preview")){if(n.hasClass("body_details")){this.initDetailPreview()}else{s.lib.setCookie(s.cookie_prefix+"preview","",0,"/",s.cookie_host,window.location.protocol=="https:")}}if(n.hasClass("details_events")||n.hasClass("body_details")){this.initEventDetailPage()}var e='a[href="'+window.location.href+'"], a[href="'+window.location.pathname+'"]'+(window.location.pathname.substr(window.location.pathname.length-1)==="/"?', a[href="'+window.location.pathname+'/index.php"]':"")+(window.location.pathname.substr(window.location.pathname.length-10)==="/index.php"?', a[href="'+window.location.pathname.substr(0,window.location.pathname.length-9)+'"]':"");l(e).attr("aria-current","page");if(s.lib.getQueryStringParam("include_hidden")){var t='This preview includes hidden content. View with live content only';l("body").notify({id:"lw_preview_message",message:t,type:"warning",close_button:false,slideIn:0})}n.initFrontendRegion();if(l.fn.lw_accordion&&l(".lw_accordion").length){l(".lw_accordion").lw_accordion()}var i=function(e){var t=false;var i=l(e);if(i.length&&i.closest(".lw_accordion_block_content").length){var a=i.closest(".lw_accordion_block");var n=a.find(".lw_accordion_block_title");if(!a.hasClass("is-active")){n.find("> button").trigger("click")}setTimeout(function(){var e=n.offset().top-n.outerHeight()-20;l("html,body").animate({scrollTop:e},"fast")},250);t=true}return t};if(window.location.hash){i(window.location.hash)}l(window).on("hashchange popstate",function(){i(window.location.hash)});if(l.fn.randomize&&l(".lw_widget_randomized").length){l(".lw_widget_randomized").randomize()}if(l.fn.contentSlideshow&&l(".lw_widget_slideshow").length){l(".lw_widget_slideshow").contentSlideshow()}if(l.fn.paginate&&l(".lw_widget_pagination:has(> .lw_paginate)").length){l(".lw_widget_pagination:has(> .lw_paginate)").paginate()}if(l.fn.saveandshare&&l(".lw_saveandshare_email").length){l(".lw_saveandshare_email").saveandshare()}this.initVideo(n);this.initDetailPageMaps();if(window.location.pathname.indexOf(".test.php")!==-1){this.showTestingMessage()}this.addPermalinkHandler();l(".lw_widget_type_galleries_inline").find("img").attr("loading","eager")},addPermalinkHandler:function(){n.on("click",".lw_widget_saveandshare .permalink a",function(e){e.preventDefault();var t=l(this);s.lib.copyToClipboard(window.location.href);t.addClass("is-copied");setTimeout(function(){t.removeClass("is-copied")},1800);return true})},initVideo:function(e){var t=e.find(".lw_media,.lw_media_wrapper > *:not(.lw_media)").each(function(){var e=l(this);if("100%"===e.attr("width")||"100%"===e.css("width")){e.removeAttr("width").removeAttr("height").css("width","").css("height","")}if(300===e.width()&&150===e.height()){e.css("width","");e.css("height","");e.attr("width",160);e.attr("height",90)}});e.fitVids({ignore:".lw_media_not_responsive"});t.filter(".lw_media_not_responsive").each(function(){var e=l(this);var t=e.width();if(!e.closest(".custom-dimension-video-wrapper").length){e.removeAttr("width").removeAttr("height").wrap('